package com.hqyj.smvc.mapper;

import com.hqyj.smvc.pojo.Idcard;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("idcardMapper")
public interface IdcardMapper {

    //查看身份证信息(分页)
    List<Idcard> selectIdcardList();

    //添加身份证
    int insertIdcard(Idcard idcard);

    //删除身份证
    int deleteIdcard(int i);

    //按照id查找身份证
    Idcard selectIdcard(int id);

    //修改身份信息
    int updateIdcard(Idcard idcard);

    //根据雇员删除身份证
    int deleteEmployeeIdIdcard(int idcard_id);
}
